import {createStore,applyMiddleware } from "redux";
import reduers from "./reducers";
import promise from "redux-promise";
import thunk from "redux-thunk";
import logger from "redux-logger";

let store = createStore(reduers,applyMiddleware(promise,thunk,logger)); //顺序注意
window.store = store;
export default store;